package com.kly.relationship;

import com.kly.RelationshipTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RelationshipController {
    @Autowired
    private RelationshipTestService relationshipTestService;

    @RequestMapping(value = "/queryByRelationship")
    public String queryByRelationship() {
        return relationshipTestService.queryByRelationshipId(123L);
    }
}
